cmake_minimum_required(VERSION 2.8)

# SET(CMAKE_C_COMPILER /usr/bin/clang)
# SET(CMAKE_CXX_COMPILER /usr/bin/clang++)

set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -g -O0")

project(Demo)


include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/market)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/biz)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/processor)

aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} SRC_LIST)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/market SRC_LIST)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/biz SRC_LIST)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/processor SRC_LIST)

add_executable(mydemo ${SRC_LIST})